package
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.events.TimerEvent;
	import flash.geom.Point;
	import flash.utils.Timer;

	public class NativeScene extends Sprite implements IScene
	{
		public function NativeScene()
		{

		}
		
		public function addToScene(child:ISprite):void{
			addChild(child as DisplayObject);
		}
		
		public function addToSceneAt(child:ISprite, loc:int):void{
			addChildAt(child as DisplayObject, loc);
		}
		
		public function removeFromScene(child:ISprite):void{
			removeChild(child as DisplayObject);
		}
		
		public function getNumChildren():int{
			return numChildren;
		}
		
		public function swapChildrenSprites(child1:ISprite, child2:ISprite):void{
			swapChildren(child1 as DisplayObject, child2 as DisplayObject);
		}
		
		public function getChildSpriteAt(loc:int):ISprite{
			return getChildAt(loc) as ISprite;
		}
		
	}
}